package nGui.controls;

import nGui.controls.OLE;

class Flash extends OLE
{
	public var __f : Void;

	public function new()
	{
		super( "ShockwaveFlash.ShockwaveFlash" );
		this.__f = get_flash_handle( this.__c );
	}

	public function load( url : String )
	{
		load_flash_url( __f, neko.Lib.haxeToNeko( url ) );
	}

	static var get_flash_handle = neko.Lib.load("nGui","ngui_get_flash_hnd",1);
	static var load_flash_url = neko.Lib.load("nGui","ngui_flash_load_url",2);
}
